#include <stdio.h>
int main()
{
    float cels, fahr;
    while(scanf("%f", &cels) != EOF ){
        fahr = (cels*9/5.0)+32;
        printf("%.1f\n", fahr);
    }
    return 0;
}